/*************************************************发送报文*****************************************************************/
let text = {
	"head": {
		"action": "1.500",
		"time": 1535682813007,
		"method": "1.2.1001",
		"key": "11F24ED821068B-1658DD41ECA-10A99-F3EBE-63603",
		"version": "1",
		"name": ""
	},
	"body": {
		"content": {
			"timestamp": 1535682812998,
			"sections": [{
				"items": [{
					"value": {
						"receiveName": "测试5",
						"sendName": "乐声彬",
						"text": "文字"
					},
					"type": "text"
				}]
			}],
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"size": 14,
				"name": "Microsoft YaHei",
				"underline": false
			}
		},
		"messageKey": "11F24ED821068B-1658DD41ECA-10A99-F3EBE-63603",
		"receiveUserId": "01003247",
		"sendUserId": "23123123"
	}
}

let GPS = {
	"head": {
		"action": "1.500",
		"method": "1.1.1001",
		"time": "1535682890927",
		"key": "11F24ED821068B-1658DD54C83-BA899-4627A-3A8CA",
		"name": "",
		"version": "1"
	},
	"body": {
		"content": {
			"timestamp": "1535682890927",
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"underline": false,
				"name": "Microsoft YaHei",
				"size": 14
			},
			"sections": [{
				"items": [{
					"type": "GPS",
					"value": {
						"receiveName": "测试5",
						"sendName": "乐声彬",
						"text": {
							"mapLat": "26.04712550",
							"mapLng": "119.33022111",
							"address": "福建省福州市仓山区下藤路158号"
						}
					}
				}]
			}]
		},
		"receiveUserId": "01003247",
		"sendUserId": "23123123"
	}
}

let image = {
	"head": {
		"action": "1.500",
		"method": "1.1.1001",
		"time": "1535682949768",
		"key": "11F24ED821068B-1658DD630F1-7E57A-82D2A-EAEE9",
		"name": "",
		"version": "1"
	},
	"body": {
		"content": {
			"timestamp": "1535682949768",
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"underline": false,
				"name": "Microsoft YaHei",
				"size": 14
			},
			"sections": [{
				"items": [{
					"type": "image",
					"value": {
						"receiveName": "测试5",
						"id": "82ae146a-0e08-46f0-a9e5-4a3f33d16462",
						"duration": "32",
						"sendName": "乐声彬",
						"size": "6246",
						"name": "1535682949320u=3602815618,2884216090&fm=173&app=25&f=JPEG.jpg"
					}
				}]
			}]
		},
		"receiveUserId": "01003247",
		"sendUserId": "23123123"
	}
}

let file = {
	"head": {
		"action": "1.500",
		"method": "1.1.1001",
		"time": "1535682988841",
		"key": "11F24ED821068B-1658DD6CACE-75BF6-2DE9C-A349D",
		"name": "",
		"version": "1"
	},
	"body": {
		"content": {
			"timestamp": "1535682988841",
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"underline": false,
				"name": "Microsoft YaHei",
				"size": 14
			},
			"sections": [{
				"items": [{
					"type": "file",
					"value": {
						"receiveName": "测试5",
						"id": "e8b3acc1-39c9-43f3-87f1-3e5510093f63",
						"duration": "37b",
						"sendName": "乐声彬",
						"size": "37",
						"name": "2.txt"
					}
				}]
			}]
		},
		"receiveUserId": "01003247",
		"sendUserId": "23123123"
	}
}

let audio = {
	"head": {
		"action": "1.500",
		"time": 1535683103126,
		"method": "1.2.1001",
		"key": "11F24ED821068B-1658DD88A94-8D48C-DB859-5FCFB",
		"version": "1",
		"name": ""
	},
	"body": {
		"content": {
			"timestamp": 1535683103120,
			"sections": [{
				"items": [{
					"value": {
						"receiveName": "测试5",
						"id": "6dc42e60-aeae-4765-8550-44f6756df091",
						"duration": "1",
						"sendName": "乐声彬",
						"size": "2342",
						"name": "08db76bd-c189-4e7c-b775-8bddc910e8aa.amr"
					},
					"type": "audio"
				}]
			}],
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"size": 14,
				"name": "Microsoft YaHei",
				"underline": false
			}
		},
		"messageKey": "11F24ED821068B-1658DD88A94-8D48C-DB859-5FCFB",
		"receiveUserId": "01003247",
		"sendUserId": "23123123"
	}
}

let message = {
	"head": {
		"action": "1.500",
		"time": 1535683103126,
		"method": "1.2.1001",
		"key": "11F24ED821068B-1658DD88A94-8D48C-DB859-5FCFB",
		"version": "1",
		"name": ""
	},
	"body": {
		"content": {
			"timestamp": new Date().getTime(),
			"font": {
				"bold": false,
				"italic": false,
				"underline": false,
				"color": "000000",
				"size": 14,
				"name": "Microsoft YaHei"
			},
			"sections": [{
				"items": [{
					"value": 'sdf',
					"type": "image"
				}]
			}]
		}
	}
}

/************************************************离线报文返回**************************************************************/
let overview = {
	"head": {
		"action": "1.500",
		"time": 1536130160434,
		"method": "1.3.1001",
		"key": "dd78397018c54d709c8769a89d93748e1536130160434",
		"version": "1",
		"name": ""
	},
	"body": {
		"timestamp": 1536130160434,
		"content": {
			"timestamp": 1536130160434,
			"sections": [{
				"items": [{
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": "5",
						"type": "1"
					},
					{
						"sendId": "3b8acdb0-d61e-4f5f-9c78-70590c444b8e",
						"value": "2",
						"type": "2"
					},
					{
						"sendId": "068c3848-4a5d-4596-b584-8dd2bea2b134",
						"value": "5",
						"type": "2"
					}, {
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": "1",
						"type": "3"
					}
				]
			}],
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"size": 12,
				"name": "微软雅黑",
				"underline": false
			}
		},
		"messageKey": "dd78397018c54d709c8769a89d93748e1536130160434",
		"userId": "23123123"
	}
}

let group_system_offline = {
	"head": {
		"action": "1.500",
		"time": 1536130160667,
		"method": "1.3.1002",
		"key": "8be13b727b0343f9bd72adf42c6924a91536130160666",
		"version": "1",
		"name": ""
	},
	"body": {
		"content": {
			"timestamp": 1536130160667,
			"sections": [{
				"items": [{
						"messagetype": "2",
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": {
							"groupName": "咯了",
							"receiveName": "乐声彬",
							"sendName": "菜市场上厕所"
						},
						"time": "1536130104695",
						"messageId": "1e97b7de95d044f69229ee18b3c27312",
						"type": "system"
					},
					{
						"messagetype": "1",
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": {
							"groupName ": "咯了 ",
							"receiveName ": "乐声彬 ",
							"sendName ": "菜市场上厕所 "
						},
						"time": "1536130093476",
						"messageId": "829ce2db94274b32915b3dcb1c4dbebc",
						"type": "system"
					}
				]
			}],
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"size": 12,
				"name": "微软雅黑",
				"underline": false
			}
		},
		"total": "2",
		"receiveId": "23123123",
		"type": "2",
		"messageKey": "8be13b727b0343f9bd72adf42c6924a91536130160666",
		"times": 1,
		"userId": "3b8acdb0-d61e-4f5f-9c78-70590c444b8e"
	}
}

let group_info_offline = {
	"head": {
		"action": "1.500",
		"time": 1536130160682,
		"method": "1.3.1002",
		"key": "0b1ea779097343bb8d84b1dcb8f64eb21536130160682",
		"version": "1",
		"name": ""
	},
	"body": {
		"content": {
			"timestamp": 1536130160682,
			"sections": [{
				"items": [{
						"messagetype": "0",
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": {
							"receiveName": "PC建群二",
							"id": "43041846-19e9-4a37-8054-da1236e0f034",
							"duration": "3",
							"sendName": "菜市场上厕所",
							"size": "4390",
							"name": "98c3d03e-1eee-4ea8-aacd-31fc99a33b0b.amr"
						},
						"time": "1536130070397",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87CBE8D-79F09-9A7E1-32FD0",
						"type": "audio"
					},
					{
						"messagetype": "0",
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": {
							"receiveName": "PC建群二",
							"id": "a4eca357-0144-48e0-8fa9-28452a636c3e",
							"duration": "129b",
							"sendName": "菜市场上厕所",
							"size": "129",
							"name": ".cuid2"
						},
						"time": "1536130063394",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87CA30F-781AB-78EC-88E59",
						"type": "file"
					},
					{
						"messagetype": "0",
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": {
							"receiveName": "PC建群二",
							"sendName": "菜市场上厕所",
							"text": {
								"mapLat": "26.04712550",
								"mapLng": "119.33022111",
								"address": "福建省福州市仓山区下藤路158号"
							}
						},
						"time": "1536130057592",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87C8CC4-BF15D-BA7D2-E4B7E",
						"type": "GPS"
					},
					{
						"messagetype": "0",
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": {
							"receiveName": "PC建群二",
							"id": "6aecf778-24ab-417e-92c4-9d5cab7117b7",
							"duration": "32",
							"sendName": "菜市场上厕所",
							"size": "4877",
							"name": "1536130051184exchange-default@2x.png"
						},
						"time": "1536130049989",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87C6C83-D85BB-1F430-B619F",
						"type": "image"
					},
					{
						"messagetype": "0",
						"sendId": "2d7bc0aeced5471195dbe17f044c8838",
						"value": {
							"receiveName": "PC建群二",
							"sendName": "菜市场上厕所",
							"text": "嘻嘻越来越"
						},
						"time": "1536130044788",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87C5AEF-DF300-A3965-D9BFB",
						"type": "text"
					}
				]
			}],
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"size": 12,
				"name": "微软雅黑",
				"underline": false
			}
		},
		"total": "5",
		"receiveId": "23123123",
		"type": "2",
		"messageKey": "0b1ea779097343bb8d84b1dcb8f64eb21536130160682",
		"times": 1,
		"userId": "068c3848-4a5d-4596-b584-8dd2bea2b134"
	}
}

let private_info_offline = {
	"head": {
		"action": "1.500",
		"time": 1536130160691,
		"method": "1.3.1002",
		"key": "56d0cdad495f468c848c3e3d921b7a191536130160691",
		"version": "1",
		"name": ""
	},
	"body": {
		"content": {
			"timestamp": 1536130160691,
			"sections": [{
				"items": [{
						"messagetype": "0",
						"value": {
							"receiveName": "乐声彬",
							"id": "b76cd95d-9c16-4955-9a6c-5dedfb50c4c6",
							"duration": "3",
							"sendName": "菜市场上厕所",
							"size": "5030",
							"name": "12f00e02-ee21-4f52-9e32-5a74ef1264d5.amr"
						},
						"time": "1536130032579",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87C2ACF-673A7-B49C0-C53A3",
						"type": "audio"
					},
					{
						"messagetype": "0",
						"value": {
							"receiveName": "乐声彬",
							"sendName": "菜市场上厕所",
							"text": {
								"mapLat": "26.04712550",
								"mapLng": "119.33022111",
								"address": "福建省福州市仓山区下藤路158号"
							}
						},
						"time": "1536130023975",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87C0941-47CD4-5EB9B-A477D",
						"type": "GPS"
					},
					{
						"messagetype": "0",
						"value": {
							"receiveName": "乐声彬",
							"sendName": "菜市场上厕所",
							"text": "洗洗澡"
						},
						"time": "1536130010570",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87BD536-5E03D-E7E1C-8EAED",
						"type": "text"
					},
					{
						"messagetype": "0",
						"value": {
							"receiveName": "乐声彬",
							"id": "bbc9788c-5f9e-4553-b03a-f35d706c77b9",
							"duration": "370b",
							"sendName": "菜市场上厕所",
							"size": "370",
							"name": "permmgr"
						},
						"time": "1536130007369",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87BC7E4-A708F-448EB-1F03E",
						"type": "file"
					},
					{
						"messagetype": "0",
						"value": {
							"receiveName": "乐声彬",
							"id": "1b33d76b-fac3-41ce-a563-a73fe35eb05a",
							"duration": "32",
							"sendName": "菜市场上厕所",
							"size": "5731",
							"name": "1536130005100control_android.png"
						},
						"time": "1536130003767",
						"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87BB88B-309C8-1CDE3-6A2AB",
						"type": "image"
					}
				]
			}],
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"size": 12,
				"name": "微软雅黑",
				"underline": false
			}
		},
		"total": "5",
		"receiveId": "23123123",
		"type": "1",
		"messageKey": "56d0cdad495f468c848c3e3d921b7a191536130160691",
		"times": 1,
		"userId": "2d7bc0aeced5471195dbe17f044c8838"
	}
}

let broad_offline = {
	"head": {
		"action": "1.500",
		"time": 1536130160842,
		"method": "1.3.1002",
		"key": "1f9f90f9dd4e4c1f93207c3928cf95e91536130160842",
		"version": "1",
		"name": ""
	},
	"body": {
		"content": {
			"timestamp": 1536130160842,
			"sections": [{
				"items": [{
					"messagetype": "0",
					"value": "一针见血呀",
					"title": "一针见血呀",
					"time": "1536130122615",
					"messageId": "7425542B864658000000000000000000000000000000000000000000000-165A87D8A89-96CD7-B245B-3208F",
					"type": "text"
				}]
			}],
			"font": {
				"bold": false,
				"italic": false,
				"color": "000000",
				"size": 12,
				"name": "微软雅黑",
				"underline": false
			}
		},
		"total": "1",
		"receiveId": "23123123",
		"type": "3",
		"messageKey": "1f9f90f9dd4e4c1f93207c3928cf95e91536130160842",
		"times": 1,
		"userId": "2d7bc0aeced5471195dbe17f044c8838"
	}
}